package cn.tedu;

/**
 * @author guojiusan
 * @create 2022-04-03-9:45
 **/
public class Test01 {
    byte a ; short b;
    int c; long d;
    float f; double e;
    // 单个字符
    char g; boolean i;
    public static void main(String[] args) {
        char c=97;
        char f=189; // char可以存数字，打印时会查ascll码表 0-127对应字符
        // 超出这个字符统一按？处理
        // byte  short int long  整数型
        // float double 浮点型
        // char 字符
        // boolean 真假
        // 方法里面变量必须完成一个初始化的动作，成员变量不用赋值也有默认值
        Test01 test01 = new Test01();
        System.out.print(test01.a+"\t");
        System.out.print(test01.b+" ");
        System.out.print(test01.c+" ");
        System.out.print(test01.d+" ");
        System.out.print(test01.e+" ");
        System.out.print(test01.f+" ");
        System.out.print(test01.g+" ");
        System.out.print(test01.i+" ");
        System.out.println(Byte.MAX_VALUE);
        System.out.println(Byte.MIN_VALUE);
        System.out.println(Short.MAX_VALUE);
        System.out.println(Short.MIN_VALUE);
        System.out.println(Integer.MAX_VALUE);
        System.out.println(Integer.MIN_VALUE);
        System.out.println(Long.MAX_VALUE);
        System.out.println(Long.MIN_VALUE);
        System.out.println(Float.MAX_VALUE);
        System.out.println(Float.MIN_VALUE);
        System.out.println(Double.MAX_VALUE);
        System.out.println(Double.MIN_VALUE);
        System.out.println(Character.MAX_VALUE);
        System.out.println(Character.MIN_VALUE);
      //  System.out.println(Boolean);
        System.out.println(c);
        System.out.println(f);
        System.out.println("1111");
       // System.out.println("222");


        System.out.println("到此一游");
        System.out.println("到此一游");
        System.out.println("到此一游");
        System.out.println("到此一游");
        System.out.println("到此一游");
        System.out.println("到此一游");
        System.out.println("到此一游");
        System.out.println("到此一游");
        System.out.println("到此一游");
        System.out.println("到此一游");
    }
}
